Fix malformed YAML in ci-build.yml Configure Maven settings step#1368
Merged
Conversation
The first three PowerShell lines in the 'Configure Maven settings' step were at column 0 instead of being indented into the 'pwsh: |' block scalar, which broke YAML parsing. Indent them to align with the rest of the script block. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: ca8303b0-dcb7-467f-9d6b-7f68da829576
gavinbarron
approved these changes
Jul 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes malformed YAML in
.azure-pipelines/ci-build.yml.In the Configure Maven settings step, the first three PowerShell lines (
,, ``) were at column 0 instead of being indented into thepwsh: |block scalar. Block-scalar content must be indented deeper than its parent key, so those column-0 lines broke YAML parsing.Change
Indented those three lines to 18 spaces to align with the rest of the script block (e.g.
\ = @").Validation
yaml.safe_load()now parses the file successfully (previously failed).Microsoft Reviewers: Open in CodeFlow